/**
 * Created by zhangligang
 * Email: tzhang2450@163.com
 * Date: 2018/8/7
 * Time: 上午5:44
 */
$(function () {
    sendAjax('/v1/teacher/notice/detail.json', 'get', {id:id}, function(json){
        var notice = json.body.data;
        $('.notice-title').text(notice.title);
        $('.notice-created-at').text(notice.created_at);
        $('.notice-content').html(notice.content);
    });
});